﻿@model LeadMaster.Models.RegisterModel

@{
    ViewBag.Title = "Register";
}
@using (Html.BeginForm()) {
    @Html.ValidationSummary()

    <fieldset>
        <legend>Registration Form</legend>
        <table>
        <tr><th>@Html.LabelFor(m => m.UserName)</th><td>@Html.TextBoxFor(m => m.UserName)</td></tr>
        <tr><th>@Html.LabelFor(m => m.Email)</th><td>@Html.TextBoxFor(m => m.Email)</td></tr>
        <tr><th>@Html.LabelFor(m => m.Password)</th><td>@Html.PasswordFor(m => m.Password)</td></tr>
        <tr><th>@Html.LabelFor(m => m.ConfirmPassword)</th><td>@Html.PasswordFor(m => m.ConfirmPassword)</td></tr>
        </table>
        <div class="spacer"></div>
        <input type="submit" value="Register" />
    </fieldset>
}
<div class="spacer"></div>
<p class="message-info">
    Passwords must be at least @Membership.MinRequiredPasswordLength characters long.
</p>


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
